package Package.Test.Test2;

import java.util.ArrayList;
import java.util.HashMap;

public class Test2 {
    public static final void Test2(){
        ArrayList<HashMap<Integer,String>> array=new ArrayList<HashMap<Integer,String>>();
        HashMap<Integer,String> hs=new HashMap<Integer,String>();
        hs.put(100001,"ChangCun");
        hs.put(100002,"YangYinTao");
        array.add(hs);
        HashMap<Integer,String> hs1=new HashMap<Integer,String>();
        hs1.put(100001,"ChangCun");
        hs1.put(100002,"YangYinTao");
        array.add(hs1);
        HashMap<Integer,String> hs2=new HashMap<Integer,String>();
        hs2.put(100001,"ChangCun");
        hs2.put(100002,"YangYinTao");
        array.add(hs2);
        for (HashMap<Integer,String> hn:array
             ) {
            System.out.println(hn);
        }
    }
}
